package com.ruoyi.system.domain.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 关重件扫描验证关系对象 mes_scan_keys_relation
 *
 * @author ruoyi
 * @date 2023-02-16
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mes_scan_keys_relation")
public class MesScanKeysRelation implements Serializable {

private static final long serialVersionUID=1L;


        /** 主键 */
        @TableId(value = "id")
    private Long id;

        /** 关重件Id */
        private Long keyId;

        /** 验证规则 */
        private String rulesCode;

        /** 工位编码 */
        @Excel(name = "工位编码")
    private String stationCode;

        /** 物料编码 */
        private String materialCode;

        /** 物料名称 */
        @Excel(name = "物料名称")
    private String materialName;

        /** 扫描验证码 */
        @Excel(name = "扫描验证码")
    private String scanCode;

        /** 数量 */
        @Excel(name = "数量")
    private Long count;

        /** 产线编码 */
        @Excel(name = "产线编码")
    private String lineCode;

        /** 写入PLC */
        @Excel(name = "写入PLC")
    private String writePlc;

        /** 创建时间 */
        private Date createTime;

        /** 删除标志 */
        private String delFlag;

        /** 更新标志 */
        private String updateBy;

        /** 更新时间 */
        private Date updateTime;

        /** 创建人 */
        private String createBy;

        /** 备用字段1 */
        private String field1;

        /** 备用字段2 */
        private String field2;

        /** 备用字段3 */
        private String field3;

        /** 备用字段4 */
        private Long field4;

        /** 车型配置外键 */
        private Long carTypeId;
}
